//
// Created by ziya on 2021/4/28.
//

#ifndef ZIYA_JVM_CPP_UNIVERSE_H
#define ZIYA_JVM_CPP_UNIVERSE_H

#include "../adlc/AllStatic.h"
#include "../gc_interface/CollectedHeap.h"
#include "../../../include/common.h"

class Universe: public AllStatic {

private:
    static CollectedHeap* _collectedHeap;

public:
    static CollectedHeap* heap() {
        return _collectedHeap;
    }

public:
    static void initialize_heap();
};


#endif //ZIYA_JVM_CPP_UNIVERSE_H
